home *** CD-ROM | disk | FTP | other *** search
- // vcdemvw.h : interface of the CVcdemoView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- class CVcdemoView : public CFormView
- {
- protected: // create from serialization only
- CVcdemoView();
- DECLARE_DYNCREATE(CVcdemoView)
-
- public:
- //{{AFX_DATA(CVcdemoView)
- enum { IDD = IDD_VCDEMO_FORM };
- CVBControl* m_speed;
- CVBControl* m_direction;
- //}}AFX_DATA
-
- // Attributes
- public:
- CVcdemoDoc* GetDocument();
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CVcdemoView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CVcdemoView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in vcdemvw.cpp
- inline CVcdemoDoc* CVcdemoView::GetDocument()
- { return (CVcdemoDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-